local M = {
    SERVER_COMMON_RET = 1,

    CLIENT_LOGIN = 2,
    SERVER_LOGIN = 3,
    CLIENT_REGISTER = 4,
    SERVER_REGISTER = 5,

    CLIENT_WORK = 6,
    SERVER_WORK = 7,

    CLIENT_ENTER = 8,
    SERVER_ENTER = 9,

    CLIENT_LEAVE = 10,
    SERVER_LEAVE = 11,

    CLIENT_LOGOUT = 12,
    SERVER_LOGOUT = 13,

    CLIENT_EXIT = 14,

    CLIENT_MOVE = 15,
    SERVER_MOVE = 16,

    CLIENT_STOP_MOVE = 17,
}


M[M.SERVER_COMMON_RET] = "common.Ret"

M[M.CLIENT_LOGIN] = "login.Login"
M[M.SERVER_LOGIN] = "login.LoginRet"
M[M.CLIENT_REGISTER] = "login.Register"
M[M.SERVER_REGISTER] = "login.RegisterRet"

M[M.CLIENT_WORK] = "scene.Work"
M[M.SERVER_WORK] = "scene.WorkRet"
M[M.CLIENT_ENTER] = "scene.EnterScene"
M[M.SERVER_ENTER] = "scene.EnterSceneRet"
M[M.CLIENT_LEAVE] = "scene.LeaveScene"
M[M.SERVER_LEAVE] = "scene.LeaveSceneRet"

M[M.CLIENT_LOGOUT] = "login.Logout"
M[M.SERVER_LOGOUT] = "login.LogoutRet"
M[M.CLIENT_EXIT] = "login.Exit"

M[M.CLIENT_MOVE] = "scene.StartMove"
M[M.SERVER_MOVE] = "scene.MoveRet"
M[M.CLIENT_STOP_MOVE] = "scene.StopMove"

function M.GetPbType(cmd)
    return M[cmd]
end


return M
